package com.test.google.app.service;

import java.util.Iterator;
import java.util.List;

import com.google.appengine.api.datastore.Entity;
import com.google.appengine.api.datastore.Key;
import com.test.google.app.domain.File;

public interface FileService {
	
	Iterator<Entity> list(String fileName);

	void delete(Key key);

	void deleteAll();

	void saveOrUpdateByName(File file);
	
	List<File> getByPath(String path);
	
	byte[] getContentByKey(Key key);

	List<File> getAll();

}
